<?xml version="1.0" standalone="yes"?>
<mi:PackageInstaller xmlns:mi="http://www.composite.net/ns/management/packageinstaller/1.0">
	<mi:PackageRequirements minimumCompositeVersion="4.1.0.0" maximumCompositeVersion="9.9999.9999.9999" />
	<mi:PackageInformation name="Composite.AspNet.WebAPI" groupName="Composite.AspNet" version="1.0.1" author="Composite A/S" website="http://www.composite.net" readMoreUrl="http://docs.composite.net/Composite.AspNet.WebAPI" id="d1a6a7bf-f11d-4607-a064-f69f9956a4d5" canBeUninstalled="true" systemLocking="hard" flushOnCompletion="false">
    <TechnicalDetails>Installs the necessary DLLs and makes configuration changes to enable WebAPI and OData on a Composite C1 website.</TechnicalDetails>
    <Description>Enables WebAPI and OData on a Composite C1 website.</Description>
	</mi:PackageInformation>
	<mi:PackageFragmentInstallerBinaries />
	<mi:PackageFragmentInstallers>
		<mi:Add installerType="Composite.Core.PackageSystem.PackageFragmentInstallers.FilePackageFragmentInstaller, Composite" uninstallerType="Composite.Core.PackageSystem.PackageFragmentInstallers.FilePackageFragmentUninstaller, Composite">
			<Files>
				<File sourceFilename="~\Bin\Newtonsoft.Json.dll" targetFilename="~\Bin\Newtonsoft.Json.dll" allowOverwrite="true" />
				<File sourceFilename="~\App_Code\Composite\AspNet\WebAPI\StartupHandler.cs" targetFilename="~\App_Code\Composite\AspNet\WebAPI\StartupHandler.cs" allowOverwrite="true" />
				<File sourceFilename="~\App_Code\Composite\AspNet\WebAPI\JsonIDataSerialization.cs" targetFilename="~\App_Code\Composite\AspNet\WebAPI\JsonIDataSerialization.cs" allowOverwrite="true" />
				<File sourceFilename="~\Bin\Microsoft.Data.Edm.dll" targetFilename="~\Bin\Microsoft.Data.Edm.dll" allowOverwrite="true" />
				<File sourceFilename="~\Bin\System.Spatial.dll" targetFilename="~\Bin\System.Spatial.dll" allowOverwrite="true" />
				<File sourceFilename="~\App_Code\Composite\AspNet\WebAPI\CustomIDataXmlFormatter.cs" targetFilename="~\App_Code\Composite\AspNet\WebAPI\CustomIDataXmlFormatter.cs" allowOverwrite="true" />
				<File sourceFilename="~\Bin\System.Net.Http.Formatting.dll" targetFilename="~\Bin\System.Net.Http.Formatting.dll" allowOverwrite="true" />
				<File sourceFilename="~\Bin\Microsoft.Data.OData.dll" targetFilename="~\Bin\Microsoft.Data.OData.dll" allowOverwrite="true" />
				<File sourceFilename="~\Bin\System.Web.Http.dll" targetFilename="~\Bin\System.Web.Http.dll" allowOverwrite="true" />
				<File sourceFilename="~\Bin\System.Web.Http.WebHost.dll" targetFilename="~\Bin\System.Web.Http.WebHost.dll" allowOverwrite="true" />
				<File sourceFilename="~\Bin\System.Web.Http.OData.dll" targetFilename="~\Bin\System.Web.Http.OData.dll" allowOverwrite="true" />
			</Files>
		</mi:Add>
		<mi:Add installerType="Composite.Core.PackageSystem.PackageFragmentInstallers.FileXslTransformationPackageFragmentInstaller, Composite" uninstallerType="Composite.Core.PackageSystem.PackageFragmentInstallers.FileXslTransformationPackageFragmentUninstaller, Composite">
			<XslFiles>
				<XslFile pathXml="~/Web.config" installXsl="~\Web.config\Install.xsl" uninstallXsl="~\Web.config\Uninstall.xsl" />
			</XslFiles>
		</mi:Add>
	</mi:PackageFragmentInstallers>
</mi:PackageInstaller>